n=100; numbers=[100,2,98,1,97,96,4,3,95,94,6,5,93,92,8,7,91,90,10,9,89,88,12,11,87,86,14,13,85,84,16,15,83,82,18,17,81,80,20,19,79,78,22,21,77,76,24,23,75,74,26,25,73,72,28,27,71,70,30,29,69,68,32,31,67,66,34,33,65,64,36,35,63,62,38,37,61,60,40,39,59,58,42,41,57,56,44,43,55,54,46,45,53,52,48,47,51,50,99,49];